package com.kehutong.user.service;

import com.kehutong.common.util.Token;
import com.kehutong.contact.entity.ResidentHouse;
import com.kehutong.user.service.impl.ParkingUserServiceImpl;
import org.coraframework.inject.ImplementedBy;
import org.coraframework.json.JSONObject;
import org.coraframework.orm.jdbc.Page;

import java.io.IOException;
import java.util.Map;

@ImplementedBy(ParkingUserServiceImpl.class)
public interface ParkingUserService {
    /**
     * 根据条件车户列表
     *
     * @param jsonObject 查询对象
     * @return 标签列表
     * @throws IOException 操作异常
     */
    Page<Map<String, Object>> parkingUserPage(JSONObject jsonObject) throws Exception;


    /**
     * 根据条件获取车位业主
     *
     * @param jsonObject 查询对象
     * @return 操作结果
     * @throws Exception 操作异常
     */
    Page<ResidentHouse> parkingOwnerPage(JSONObject jsonObject) throws Exception;

    Object parkingUserExport(JSONObject jsonObject) throws Exception;

    Object parkingUserCheckFile(JSONObject jsonObject) throws Exception;

    Object parkingUserReadFile(Token token, JSONObject jsonObject) throws Exception;
}
